package xyz.lwm.lazycat.web.annocation;

import xyz.lwm.lazycat.annotation.Bean;
import xyz.lwm.lazycat.utility.reflect.AliasTo;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @see xyz.lwm.lazycat.annotation.Bean
 * @author lwm
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Bean
public @interface Service {

    /**
     * Bean name, mapping to {@link Bean#value()}
     */
    @AliasTo(annotation = Bean.class)
    String value() default "";

}
